﻿namespace EasyCMS.Core.Dals
{
    using System;
    using System.Collections.Generic;
    using Pismire.Components;
    using Pismire;

    public interface ICategory
    {
        List<EasyCMS.Common.DataComponents.Category> GetCategoryDataTable();

        ExcuteState Add(ref EasyCMS.Common.DataComponents.Category data);

        ExcuteState Update(ref EasyCMS.Common.DataComponents.Category data);

        ExcuteState Delete(int id);
    }
}
